package org.jsola.contract.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseUpdateDO;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 合同分类下模板变量
 *
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "con_category_variable")
public class CategoryVariableDO extends BaseUpdateDO<Long> {

    private static final long serialVersionUID = 1L;

    /**
     * 分类id
     */
    private Long categoryId;
    /**
     * 变量id
     */
    private Long variableId;


    /**
     * 变量名称
     */
    @Transient
    private String variableName;
    /**
     * 变量类型
     */
    @Transient
    private String variableType;

}

